package hz.mobileproject.pda.model.attendancemanager.bean;

import java.io.Serializable;
import java.util.List;

public class Rp_queryOutReport implements Serializable {
    public int count;
    public List<OutReportDatas> outReportDatas;

    public class OutReportDatas implements Serializable{
        public String cus_number;
        public String police_code;  //:3304073,
        public String police_name;  //,
        public String reason;  //:14,
        public String reason_name;  //:出杭报备,
        public String record_id;   //:10431127,
        public String remark;    //:探望岳父母。,
        public String start_date;  //:2018-10-03 12:00:00,
        public String user_id; //:10342,
        public String admin_post;   //:政治教导员,
        public String admin_post_id;   //:21,
        public String antifake_date;   //:,
        public String dept_id; //:48,
        public String dept_name;   //:一监区,
        public String direction;   //:丽水,
        public String end_date;    //:2018-10-04 12:00:00,
        public String day; //:2,
        public String odd_parent_id;   //:3223,
        public String oddname; //:一监区,
        public FjqDate fjqDate; //"分监区审批数据"
        public DeptDate deptDate;  //"监区(部门)审批数据"
        public OrgDate orgDate;    //"组织科审批数据"
        public PolDate polDate;   //"纪委监察科审批数据"
        public PoloffDate poloffDate;  //"政治处审批数据"
        public BranchDate branchDate;   //"政委审批数据"
        public String approvalStatus;  //待审批文字信息
        public int hasApproval;  //是否有审批权限  0-没有  1-有
        public int flowId;      //0-待审批  1-审批通过 2-审批不通过 1002~1006审批流程中
        public String flowName;

        @Override
        public boolean equals(Object obj) {
            if (this.getClass() != obj.getClass()) {
                return false;
            }
            OutReportDatas p = (OutReportDatas) obj;
            return (this.record_id.equals(p.record_id)) &&
            (this.police_code.equals(p.police_code));
        }
    }

    /**
     * 分监区审批数据
     */
    public class FjqDate implements Serializable {
        public String fjq_opinion; //: ,
        public String fjq_police_name;    //: ,
        public int fjq_status;  //: ,
        public String fjq_status_name; //: ,
        public String fjq_time;    //:
    }

    /**
     * 监区(部门) 审批数据
     */
    public class DeptDate implements Serializable {
        public String dept_opinion;    //: ,
        public String dept_police_name;   //:,
        public int dept_status;  //:1,
        public String dept_status_name;    //:审批通过,
        public String dept_time;   //:2018 - 09 - 30 07:44:00


    }

    /**
     * 组织科审批数据
     */
    public class OrgDate implements Serializable {
        public String branch_leader; //: ,
        public String org_opinion;  //: ,
        public String org_police_name;  //:,
        public int org_status;    //:1,
        public String org_status_name;   //:审批通过,
        public String org_time;   //:2018 - 09 - 30 07:48:16


    }

    /**
     * 纪委监察科审批数据
     */
    public class PolDate implements Serializable {
        public String pol_opinion;   //: ,
        public String pol_police_name;    //:,
        public int pol_status;  //:1,
        public String pol_status_name; //:审批通过,
        public String pol_time;    //:2018 - 10 - 09 08:28:00


    }

    /**
     * 政治处审批数据
     */
    public class PoloffDate implements Serializable {
        public String poloff_opinion;  //: ,
        public String poloff_police_name;    //:,
        public int poloff_status;  //:1,
        public String poloff_status_name;   //:审批通过,
        public String poloff_time; //:2018 - 10 - 08 08:22:30


    }


    /**
     * 政委审批数据
     */
    public class BranchDate implements Serializable {
        public String branch_opinion;   //: ,
        public String branch_police_name;   //: ,
        public int branch_status;    //: ,
        public String branch_status_name;   //: ,
        public String branch_time;  //:


    }
}
